package com.bootssm.dao;

import com.bootssm.pojo.BookVO;
import com.bootssm.pojo.Category;
import com.bootssm.pojo.CategoryVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    public List<Category> findAll(CategoryVO categoryVO);
    public Integer getCount(CategoryVO categoryVO);
    public void insert(Category category);
    public Category findById(String categoryId);
    public void update(Category category);
    public void delete(String categoryId);
    public List<Category> select();
}
